#include <header.h>

int main(){

    int fd = open("1.pipe", O_RDONLY);

    //printf("----- \n");
    //char buf[100]={0};
    //read(fd, buf, sizeof(buf));
    //printf("buf: %s \n", buf);

    /*
    while(1){
        char buf[1024] = {0};
        read(fd, buf, sizeof(buf));
        printf("buf: %s  \n", buf);
        //sleep(2);
    }
    */

    //sleep(1);
    close(fd);
    return 0;
}

